home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / magick / PreRvIcccm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.2 KB  |  77 lines

  1. #ifdef PRE_R5_ICCCM
  2. /*
  3.   Compatability defines for pre X11R5 ICCCM.
  4. */
  5. extern XrmDatabase
  6.   XrmGetDatabase();
  7. #endif
  8.  
  9. #ifdef PRE_R4_ICCCM
  10. /*
  11.   Compatability defines for pre X11R4 ICCCM.
  12. */
  13. #ifdef vms
  14. #define XMaxRequestSize(display)  16384
  15. #endif
  16.  
  17. #define WithdrawnState  0
  18. #define XInductColormap(display,colormap)  XInstallColormap(display,colormap)
  19. #define XUninductColormap(display,colormap)  XUninstallColormap(display,colormap)
  20.  
  21. typedef struct _XTextProperty
  22. {
  23.   unsigned char
  24.     *value;
  25.  
  26.   Atom
  27.     encoding;
  28.  
  29.   int
  30.     format;
  31.  
  32.   unsigned long
  33.     nitems;
  34. } XTextProperty;
  35.  
  36. /*
  37.   Pre R4 ICCCM compatibility routines.
  38. */
  39. char 
  40.   *XResourceManagerString();
  41.  
  42. extern int
  43.   XWMGeometry();
  44.  
  45. extern Status
  46.   XGetRGBColormaps(),
  47.   XGetWMName(),
  48.   XReconfigureWMWindow(),
  49.   XSetWMProtocols(),
  50.   XWithdrawWindow();
  51.  
  52. extern XClassHint
  53.   *XAllocClassHint();
  54.  
  55. extern XIconSize
  56.   *XAllocIconSize();
  57.  
  58. extern XSizeHints
  59.   *XAllocSizeHints();
  60.  
  61. extern XStandardColormap
  62.   *XAllocStandardColormap();
  63.  
  64. extern XWMHints
  65.   *XAllocWMHints();
  66.  
  67. extern VisualID
  68.   XVisualIDFromVisual();
  69.  
  70. extern void
  71.   XrmDestroyDatabase(),
  72.   XSetWMProperties();
  73. #else
  74. #define XInductColormap(display,colormap)
  75. #define XUninductColormap(display,colormap)
  76. #endif
  77.